package cn.zwx.member.svc.service;

import cn.zwx.member.svc.domain.bo.UserPointsBO;
import cn.zwx.member.svc.domain.entity.UserPointsEntity;


/**
 * @author zhangwenxue
 */
public interface UserPointsService {


    /**
     * 添加用户积分即可
     * @param userPointsBO 奖励集合
     */
    void addUserPoint(UserPointsBO userPointsBO);

    /**
     * 查询用户会员等级
     * @param userId 用户id
     * @return 返回信息
     */
    UserPointsEntity selectByUserId(String userId);
}
